#pragma once
using namespace System;
using namespace System::Collections::Generic;
using namespace System::Data;
using namespace Librarian::Entities;


namespace Librarian
{
	namespace Data
	{

		//book
		private ref class BookHelper sealed
		{
		public:
			static BorrowEntity^ BorrowHiss(DataTable^ table);
			static BorrowEntity^ BorrowHis(DataRow^ row);
			static BookEntity^ ReadBook(DataRow^ row);
			static BookEntity^ ReadBook(DataTable^ table);
			static array<BookEntity^>^ ReadBooks(DataTable^ table);

		};

	}
}